package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑", 11, "白");
        dog.eat();
        dog.lookHome();
        dog.drink();
        dog.swim();
        Chick chick = new Chick("小灰", 1, "灰白");
        chick.eat();
        chick.layEgg();
        chick.drink();
        Fish fish = new Fish("小呆", 3, "金");
        fish.eat();
        fish.swim();
        fish.drink();
    }
}
